﻿Imports System.ComponentModel
<Serializable()> _
Public Class MoveToMovieResultProperties
    Implements IresultProperties
    Implements INotifyPropertyChanged

#Region "Members"
    Private m_Movie As Movie
    Private m_StartingAt As Long
    Private m_IsSmoothTransition As Boolean
#End Region

#Region "Constructors"

#End Region

#Region "Properties"

    Public Property Movie() As Movie
        Get
            Return m_Movie
        End Get
        Set(ByVal value As Movie)
            m_Movie = value
            NotifyPropertyChanged("Movie")
        End Set
    End Property

    Public Property StartingAt() As Long
        Get
            Return m_StartingAt
        End Get
        Set(ByVal value As Long)
            m_StartingAt = value
            NotifyPropertyChanged("StartingAt")
        End Set
    End Property

    Public Property IsSmoothTransition() As Boolean
        Get
            Return m_IsSmoothTransition
        End Get
        Set (ByVal value As Boolean)
            m_IsSmoothTransition = value
            NotifyPropertyChanged("IsSmoothTransition")
        End Set
    End Property

    Public ReadOnly Property MovieID() As Integer
        Get
            Return m_Movie.ID
        End Get
    End Property


#End Region

    Public Event PropertyChanged As PropertyChangedEventHandler _
   Implements INotifyPropertyChanged.PropertyChanged

    Private Sub NotifyPropertyChanged(ByVal info As String)
        RaiseEvent PropertyChanged(Me, New PropertyChangedEventArgs(info))
    End Sub

End Class
